|
|
| SpaceSet (Simul &s) |
| | creator
|
| |
|
virtual | ~SpaceSet () |
| | destructor
|
| |
|
std::string | kind () const |
| | identifies the property
|
| |
|
Property * | newProperty (const std::string &kind, const std::string &name, Glossary &) const |
| | create a new property for class kind with given name
|
| |
| void | add (Object *) |
| | add Object More...
|
| |
| void | remove (Object *) |
| | remove Object More...
|
| |
|
void | erase () |
| | erase all Object and all Property
|
| |
| Object * | newObject (const std::string &kind, const std::string &prop, Glossary &opt) |
| | create a new object from the corresponding property More...
|
| |
|
Object * | newObjectT (const Tag tag, int prop_index) |
| | construct object
|
| |
|
void | step () |
| | Monte-Carlo step for every Space.
|
| |
|
Space * | first () const |
| | first Space
|
| |
|
Space * | first (const Property *prop) const |
| | first Space with this Property
|
| |
|
Space * | find (Number n) const |
| | return pointer to the Object of given Number, or zero if not found
|
| |
|
virtual void | freeze () |
| | transfer all nodes to list ice
|
| |
|
virtual void | thaw (bool erase) |
| | erase objects, or put them back in normal list
|
| |
|
| ObjectSet (Simul &s) |
| | creator
|
| |
|
virtual | ~ObjectSet () |
| | destructor
|
| |
| virtual ObjectList | newObjects (const std::string &kind, const std::string &name, Glossary &opt) |
| | create new objects, given Property and options in opt More...
|
| |
| virtual ObjectList | newPlacedObjects (const std::string &kind, const std::string &name, Glossary &opt) |
| | create new objects, translate and rotate them according to specifications in opt More...
|
| |
|
void | add (ObjectList &) |
| | remove Object in ObjectList
|
| |
|
void | remove (ObjectList &) |
| | remove Object in ObjectList
|
| |
| virtual void | relink (Object *) |
| | unlink and relink object. This places it last in the list More...
|
| |
|
void | erase (Object *) |
| | remove Object, and delete it
|
| |
|
virtual unsigned | size () const |
| | number of elements
|
| |
|
virtual void | mix () |
| | mix the order of elements in the doubly linked list nodes
|
| |
|
Object * | first () const |
| | first Object in the list
|
| |
| Object * | first (const Property *) const |
| | return an Object which has this property More...
|
| |
|
Object * | last () const |
| | last Object
|
| |
|
Object * | find (const Number n) const |
| | find Object of given serial-number (see Inventoried)
|
| |
| Object * | findObject (long n) const |
| | return Object with serial-number if ( n > 0 ) or object from the end of the list if ( n <= 0 ) More...
|
| |
|
virtual ObjectList | collect (bool(*func)(Object const *, void *), void *) const |
| | collect Object for which func(obj, val) == true
|
| |
| void | readObject (InputWrapper &, Tag, char pretag) |
| | read one Object from file More...
|
| |
|
virtual void | write (OutputWrapper &out) const |
| | write all Objects to file
|
| |